package net.y2t72.microblog.bean;

import java.io.Serializable;

/**
 * 话题关联表实体类
 * 
 * @author Administrator
 * 
 */

public class TopicRelated implements Serializable{

	/**
	 * 版本号
	 */
	private static final long serialVersionUID = -5958105154358479843L;

	public TopicRelated() {
		super();
	}

	public TopicRelated(Topic topic, Content content) {
		super();
		this.topic = topic;
		this.content = content;
	}

	public TopicRelated(int id, Topic topic, Content content) {
		super();
		this.id = id;
		this.topic = topic;
		this.content = content;
	}

	private int id;					//话题关联编号
	private Topic topic;			//话题信息
	private Content content;		//话题内容

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public Topic getTopic() {
		return topic;
	}

	public void setTopic(Topic topic) {
		this.topic = topic;
	}

	public Content getContent() {
		return content;
	}

	public void setContent(Content content) {
		this.content = content;
	}

}
